﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SlideShow.aspx.cs" Inherits="SSP.Api.Web.SlideShow" %>
<%@ Import Namespace="SSP.Api.Web.Properties"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>My Home</title>                                    <script type="text/javascript" src="js/swfobject.js"></script><script type="text/javascript" src="js/prototype.js"></script><script type="text/javascript"> <!--    
    function flashPutHref(href) {         location.href = href;        document.getElementById('bookmarklink').href = location.href;    } --> </script>  <script type="text/javascript">    
    var flashvars = {};
    flashvars.xmlFilePath = "http://<%=Settings.Default.Path%>/images.php?album=<%=AlbumID%>";
    flashvars.transitionPause = <%=Settings.Default.TransitionPause%>;
    flashvars.initialURL = escape(document.location);
    flashvars.displayMode = "<%=DisplayMode %>";
    var params = {};
    params.menu = "false";
    params.allowFullScreen = true;
    params.allowScriptAccess = 'sameDomain';
    var attributes = {};
    //attributes.initialURL = escape(document.location);
    swfobject.embedSWF("ssp.swf", "flashcontent", "800", "640", "9.0.0", "expressInstall.swf", flashvars, params, attributes);</script>
	<style type="text/css">
		body{ background:#111; color: #333; font: 13px 'Lucida Grande', Verdana, sans-serif; margin:10px; }
		#flashcontent{margin:0; background:#111;}
		#bookmark{color:White; text-align:right;padding: 2px;}
		#bookmarklink{font-size: 14px;}
		#bookmark A:link {text-decoration: none; color:White;}
        #bookmark A:visited {text-decoration: none; color:White;}
        #bookmark A:active {text-decoration: none; color:White;}
        #bookmark A:hover {text-decoration: none; color:White;}
	</style>
	
</head>
<body>
<div id="bookmark"><a id="bookmarklink" href="" title="Right mouse click and copy link location." target="_blank">Bookmark this image</a></div>
<div id="flashcontent"> 		<!-- insert non-Flash content here --> 	</div>   
</body>
</html>
